package com.example.carbon.server;

import com.example.carbon.Dto.energy.Search;
import com.example.carbon.pojo.energy.EnergyEfficiency;

public interface EnergyEfficiencyServer {
    String getAllEnergyEfficiencyInfo();
    boolean deleteEnergyEfficiency(int id);
    boolean insertNewEnergyEfficiency(EnergyEfficiency energyEfficiency);
    boolean updateEnergyInfo(EnergyEfficiency energyEfficiency);

    String searchKey(Search search);
}
